{extend name="common@base" /}
{block name="content"}
<section class="content">
  <div class="row">
    <div class="col-xs-12 col-lg-6 col-md-9">
      <form action="" method="post" class="form">
        <div class="box box-primary">
          <div class="box-header with-border">
            <div class="box-title">班级信息编辑</div>
          </div>
          <div class="box-body">
            <div class="form-group">
              <label for="">班级名称</label>
                <input type="text" name="form[title]" class="form-control" value="{$row.title}">
            </div>
            <div class="form-group">
              <label for="">选择教师</label>
              {:form_dropdown('form[teacher_uid]',$teachers,$row.teacher_uid,'class="form-control"')}
            </div>
            <div class="form-group">
              <label for="">备注</label>
              <textarea name="form[memo]" class="form-control" rows="5">{$row.memo}</textarea>
            </div>
          </div>
        </div>
        <div class="box box-default">
          <div class="box-footer">
            <button class="btn btn-primary js-ajax-submit" type="submit">保存</button>
            <a href="javascript:history.back()" class="btn btn-default">返回</a>
          </div>
        </div>
      </form>
    </div>
  </div>
</section>
{/block}
{block name="page_script"}
<script>

  require(["layer_config", "ajaxForm",], function (layer) {

  });

</script>
{/block}





